const http_host = window.location.host;
let ip_port = "";
if (http_host.indexOf("192.168.1.8") != -1) {
    ip_port = "http://192.168.1.3:8080"
} else {


    ip_port = "http://58.213.131.174:18080"
        // ip_port = "http://10.0.108.14:8080"
        // ip_port = "http://10.0.108.152:8080"//付
        // ip_port = "http://10.0.108.150:8080"//金


}
export const KB_API = ip_port + "/shsk/app/serviceApi"
export const URL_VERIFYCODE = ip_port + "/shsk/app/verifyCode"
export const URL_IMAGE_VIEW = ip_port + "/shsk/image/view/"
export const EXPORT_URL = ip_port + "/shsk/app/export"
export const CONSTANT = {
    LIST_MONITOR_AND_SENSOR: 'listMonitorAndSensor',
    LIST_DATA_WARNING: 'listDataWarning',
    QUERY_REAL_DATA_BY_SENSOR_NO: 'queryRealDataBySensorNo',
    QUERY_WEATHER_INFO: 'queryWeatherInfo',

}